.class public Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;
.super Landroidx/recyclerview/widget/RecyclerView$Adapter;
.source "HomeManagerAdapter.java"

# interfaces
.implements Lcom/estrongs/android/ui/homepage/m;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$d;,
        Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroidx/recyclerview/widget/RecyclerView$Adapter<",
        "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;",
        ">;",
        "Lcom/estrongs/android/ui/homepage/m;"
    }
.end annotation


# instance fields
.field private a:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/android/ui/homepage/g;",
            ">;"
        }
    .end annotation
.end field

.field private b:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/android/ui/homepage/g;",
            ">;"
        }
    .end annotation
.end field

.field private c:Landroidx/recyclerview/widget/ItemTouchHelper;

.field private d:Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$d;


# direct methods
.method public constructor <init>(Ljava/util/List;Ljava/util/List;Landroidx/recyclerview/widget/ItemTouchHelper;)V
    .locals 0
    .param p1    # Ljava/util/List;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Ljava/util/List;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/android/ui/homepage/g;",
            ">;",
            "Ljava/util/List<",
            "Lcom/estrongs/android/ui/homepage/g;",
            ">;",
            "Landroidx/recyclerview/widget/ItemTouchHelper;",
            ")V"
        }
    .end annotation

    .line 1
    invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;-><init>()V

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    .line 3
    iput-object p2, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->b:Ljava/util/List;

    .line 4
    iput-object p3, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->c:Landroidx/recyclerview/widget/ItemTouchHelper;

    return-void
.end method

.method private a()V
    .locals 3

    .line 23
    iget-object v0, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->d:Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$d;

    if-eqz v0, :cond_1

    .line 24
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 25
    iget-object v1, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/android/ui/homepage/g;

    .line 26
    iget-object v2, v2, Lcom/estrongs/android/ui/homepage/g;->j:Ljava/lang/String;

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 27
    :cond_0
    iget-object v1, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->d:Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$d;

    invoke-interface {v1, v0}, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$d;->d(Ljava/util/List;)V

    :cond_1
    return-void
.end method

.method private a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
    .locals 3

    .line 3
    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getAdapterPosition()I

    move-result p1

    add-int/lit8 v0, p1, -0x1

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    if-gt v0, v1, :cond_1

    if-gez v0, :cond_0

    goto :goto_0

    .line 5
    :cond_0
    iget-object v1, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/ui/homepage/g;

    .line 6
    iget-object v2, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    invoke-interface {v2, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->b:Ljava/util/List;

    const/4 v2, 0x0

    invoke-interface {v0, v2, v1}, Ljava/util/List;->add(ILjava/lang/Object;)V

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, 0x2

    invoke-virtual {p0, p1, v0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemMoved(II)V

    .line 9
    invoke-direct {p0}, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a()V

    :cond_1
    :goto_0
    return-void
.end method

.method private a(Lcom/estrongs/android/pop/app/premium/IViewHolder;)V
    .locals 3

    .line 10
    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getAdapterPosition()I

    move-result p1

    const/4 v0, -0x1

    if-ne p1, v0, :cond_0

    return-void

    .line 11
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    sub-int v0, p1, v0

    add-int/lit8 v0, v0, -0x2

    .line 12
    iget-object v1, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->b:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    if-gt v0, v1, :cond_2

    if-gez v0, :cond_1

    goto :goto_0

    .line 13
    :cond_1
    iget-object v1, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->b:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/ui/homepage/g;

    .line 14
    iget-object v2, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->b:Ljava/util/List;

    invoke-interface {v2, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    .line 15
    iget-object v0, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 16
    iget-object v0, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    add-int/lit8 v0, v0, 0x1

    invoke-virtual {p0, p1, v0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemMoved(II)V

    .line 17
    invoke-direct {p0}, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a()V

    :cond_2
    :goto_0
    return-void
.end method


# virtual methods
.method public a(II)V
    .locals 3

    .line 18
    iget-object v0, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    add-int/lit8 v1, p1, -0x1

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/ui/homepage/g;

    .line 19
    iget-object v2, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    invoke-interface {v2, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    .line 20
    iget-object v1, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    add-int/lit8 v2, p2, -0x1

    invoke-interface {v1, v2, v0}, Ljava/util/List;->add(ILjava/lang/Object;)V

    .line 21
    invoke-virtual {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemMoved(II)V

    .line 22
    invoke-direct {p0}, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a()V

    return-void
.end method

.method public synthetic a(Lcom/estrongs/android/pop/app/premium/IViewHolder;Landroid/view/View;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a(Lcom/estrongs/android/pop/app/premium/IViewHolder;)V

    return-void
.end method

.method public synthetic a(Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;Landroid/view/View;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V

    return-void
.end method

.method public a(Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$d;)V
    .locals 0

    .line 28
    iput-object p1, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->d:Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$d;

    return-void
.end method

.method public synthetic b(Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;Landroid/view/View;)Z
    .locals 0

    .line 1
    iget-object p2, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->c:Landroidx/recyclerview/widget/ItemTouchHelper;

    invoke-virtual {p2, p1}, Landroidx/recyclerview/widget/ItemTouchHelper;->startDrag(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V

    const/4 p1, 0x1

    return p1
.end method

.method public getItemCount()I
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    iget-object v1, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->b:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/2addr v0, v1

    add-int/lit8 v0, v0, 0x2

    return v0
.end method

.method public getItemViewType(I)I
    .locals 2

    if-nez p1, :cond_0

    const/4 p1, 0x0

    return p1

    .line 1
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x1

    add-int/2addr v0, v1

    if-ne p1, v0, :cond_1

    const/4 p1, 0x2

    return p1

    :cond_1
    if-lez p1, :cond_2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/2addr v0, v1

    if-ge p1, v0, :cond_2

    return v1

    :cond_2
    const/4 p1, 0x3

    return p1
.end method

.method public onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
    .locals 6
    .param p1    # Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    invoke-virtual {p0, p2}, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->getItemViewType(I)I

    move-result v0

    const/4 v1, 0x0

    const-string v2, "-"

    const-string v3, "thirdapp"

    const/4 v4, 0x1

    if-eq v0, v4, :cond_2

    const/4 v4, 0x3

    if-eq v0, v4, :cond_0

    goto/16 :goto_1

    .line 2
    :cond_0
    check-cast p1, Lcom/estrongs/android/pop/app/premium/IViewHolder;

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->b:Ljava/util/List;

    iget-object v4, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    sub-int/2addr p2, v4

    add-int/lit8 p2, p2, -0x2

    invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/estrongs/android/ui/topclassify/e;

    const v0, 0x7f09051e

    .line 4
    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/app/premium/IViewHolder;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    const v4, 0x7f090827

    .line 5
    invoke-virtual {p1, v4}, Lcom/estrongs/android/pop/app/premium/IViewHolder;->a(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    const v5, 0x7f090472

    .line 6
    invoke-virtual {p1, v5}, Lcom/estrongs/android/pop/app/premium/IViewHolder;->a(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ImageView;

    const v5, 0x7f080459

    .line 7
    invoke-virtual {p1, v5}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 8
    iget-object p1, p2, Lcom/estrongs/android/ui/topclassify/e;->a:Ljava/lang/String;

    invoke-virtual {v3, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 9
    iget-object p1, p2, Lcom/estrongs/android/ui/topclassify/e;->h:Ljava/lang/Object;

    check-cast p1, Les/gu;

    .line 10
    invoke-virtual {p1}, Les/gu;->a()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {v4, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 11
    invoke-virtual {v0}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object p2

    invoke-virtual {v2, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-nez p2, :cond_5

    .line 12
    invoke-virtual {p1}, Les/gu;->b()Ljava/lang/String;

    move-result-object p1

    new-instance p2, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$b;

    invoke-direct {p2, p0}, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$b;-><init>(Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;)V

    .line 13
    invoke-static {v0, p1, v1, p2}, Les/qg;->a(Landroid/widget/ImageView;Ljava/lang/String;ILes/ug0;)V

    goto :goto_1

    .line 14
    :cond_1
    iget p1, p2, Lcom/estrongs/android/ui/topclassify/e;->b:I

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 15
    iget p1, p2, Lcom/estrongs/android/ui/topclassify/e;->c:I

    invoke-virtual {v4, p1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_1

    .line 16
    :cond_2
    check-cast p1, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;

    .line 17
    iget-object v0, p0, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;->a:Ljava/util/List;

    sub-int/2addr p2, v4

    invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/estrongs/android/ui/topclassify/e;

    .line 18
    iget-object v0, p2, Lcom/estrongs/android/ui/topclassify/e;->a:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 19
    iget-object p2, p2, Lcom/estrongs/android/ui/topclassify/e;->h:Ljava/lang/Object;

    check-cast p2, Les/gu;

    .line 20
    iget-object v0, p1, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;->d:Landroid/widget/TextView;

    invoke-virtual {p2}, Les/gu;->a()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 21
    iget-object v0, p1, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;->b:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_4

    .line 22
    iget-object v0, p1, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;->b:Landroid/widget/ImageView;

    .line 23
    invoke-virtual {p2}, Les/gu;->b()Ljava/lang/String;

    move-result-object p2

    new-instance v2, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$a;

    invoke-direct {v2, p0}, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$a;-><init>(Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;)V

    .line 24
    invoke-static {v0, p2, v1, v2}, Les/qg;->a(Landroid/widget/ImageView;Ljava/lang/String;ILes/ug0;)V

    goto :goto_0

    .line 25
    :cond_3
    iget-object v0, p1, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;->b:Landroid/widget/ImageView;

    iget v1, p2, Lcom/estrongs/android/ui/topclassify/e;->b:I

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 26
    iget-object v0, p1, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;->d:Landroid/widget/TextView;

    iget p2, p2, Lcom/estrongs/android/ui/topclassify/e;->c:I

    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setText(I)V

    .line 27
    :cond_4
    :goto_0
    iget-object p1, p1, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;->c:Landroid/widget/ImageView;

    const p2, 0x7f08053c

    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setImageResource(I)V

    :cond_5
    :goto_1
    return-void
.end method

.method public onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    .locals 2
    .param p1    # Landroid/view/ViewGroup;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .annotation build Landroidx/annotation/NonNull;
    .end annotation

    if-eqz p2, :cond_3

    const/4 v0, 0x1

    const v1, 0x7f0c01ab

    if-eq p2, v0, :cond_2

    const/4 v0, 0x2

    if-eq p2, v0, :cond_1

    const/4 v0, 0x3

    if-ne p2, v0, :cond_0

    .line 1
    invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object p2

    invoke-static {p2, v1, p1}, Lcom/estrongs/android/pop/app/premium/IViewHolder;->a(Landroid/content/Context;ILandroid/view/ViewGroup;)Lcom/estrongs/android/pop/app/premium/IViewHolder;

    move-result-object p1

    const p2, 0x7f09059e

    .line 2
    invoke-virtual {p1, p2}, Lcom/estrongs/android/pop/app/premium/IViewHolder;->a(I)Landroid/view/View;

    move-result-object p2

    .line 3
    new-instance v0, Lcom/estrongs/android/ui/homepage/f;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/ui/homepage/f;-><init>(Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;Lcom/estrongs/android/pop/app/premium/IViewHolder;)V

    invoke-virtual {p2, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_0

    .line 4
    :cond_0
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string p2, "viewType is illegal...."

    invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1

    .line 5
    :cond_1
    invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object p2

    const v0, 0x7f0c01b0

    invoke-static {p2, v0, p1}, Lcom/estrongs/android/pop/app/premium/IViewHolder;->a(Landroid/content/Context;ILandroid/view/ViewGroup;)Lcom/estrongs/android/pop/app/premium/IViewHolder;

    move-result-object p1

    goto :goto_0

    .line 6
    :cond_2
    invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object p2

    invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p2

    const/4 v0, 0x0

    invoke-virtual {p2, v1, p1, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    .line 7
    new-instance p2, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;

    invoke-direct {p2, p0, p1}, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;-><init>(Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;Landroid/view/View;)V

    .line 8
    iget-object p1, p2, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;->a:Landroid/view/View;

    new-instance v0, Lcom/estrongs/android/ui/homepage/d;

    invoke-direct {v0, p0, p2}, Lcom/estrongs/android/ui/homepage/d;-><init>(Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 9
    iget-object p1, p2, Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;->a:Landroid/view/View;

    new-instance v0, Lcom/estrongs/android/ui/homepage/e;

    invoke-direct {v0, p0, p2}, Lcom/estrongs/android/ui/homepage/e;-><init>(Lcom/estrongs/android/ui/homepage/HomeManagerAdapter;Lcom/estrongs/android/ui/homepage/HomeManagerAdapter$c;)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V

    return-object p2

    .line 10
    :cond_3
    invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object p2

    const v0, 0x7f0c01af

    invoke-static {p2, v0, p1}, Lcom/estrongs/android/pop/app/premium/IViewHolder;->a(Landroid/content/Context;ILandroid/view/ViewGroup;)Lcom/estrongs/android/pop/app/premium/IViewHolder;

    move-result-object p1

    :goto_0
    return-object p1
.end method
